<?php
namespace app\library;

class ErrorCode
{
    const LOGIN = [
        10001,
        '需要登录'
    ];
    const NO_PARAMS = [
        10002,
        '缺少参数'
    ];
    const TIMEOUT = [
        10003,
        '请求超时'
    ];
    const SIGN_ERROR = [
        10004,
        '签名错误',
    ];
    const ERROR = [
        10005,
        '内部错误'
    ];
    const STATUS_CLOSE = [
        10020,
        '已下架',
    ];
    const NOT_FOUND = [
        10021,
        '不存在'
    ];
}